﻿package framework.core;

/**
 * Creation date: (2003-08-28)
 * @author: adminnistrator
 * SQL执行结果
 */
public class DBResult 
{
	private java.sql.ResultSet m_rs = null;
	private DBPreparedStatement m_pst = null;

	public DBResult(DBPreparedStatement pst,java.sql.ResultSet rs)
	{
		m_pst = pst;
		m_rs  = rs ;
	}
	public void clear() throws Exception
	{
		if(m_rs!=null)
		{
			m_rs.close();
		}
		if(m_pst!=null)
		{	
			m_pst.close();
		}
	}
	public java.sql.ResultSet getRs()
	{
		return m_rs;
	}
}
